package com.example.administrator.yuejian_2.interservice;

import com.example.administrator.yuejian_2.bean.LoginBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/16.
 */

public interface LoginService {
    @GET("user/dologin")//绿色对应接口地址
    Call<LoginBean> userLogin(@Query("u_name")String username,
                              @Query("u_pass")String userpass);
}
